home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _D0CDB59232CA43E7B5C2FDC151C491BB < prev    next >
Encoding:
Text File  |  2006-08-04  |  934 b   |  31 lines

  1. from PSPApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': u'Corel Corporation',
  6.         'Copyright': u'Copyright (c) 2003-2004 Corel Corporation  All rights reserved.',
  7.         'Description': u'',
  8.         'Host': u'Paint Shop Pro',
  9.         'Host Version': u'8.10'
  10.         }
  11.  
  12. def Preset_ColorAdjustHSL():
  13.     return {
  14.         'HSL': {
  15.             'Colorize': App.Constants.Boolean.false, 
  16.             'Master': (120,-60,-30), 
  17.             'MasterColorize': (0,0,0), 
  18.             'Red': (0,0,0,315,345,15,45), 
  19.             'Green': (0,0,0,75,105,135,165), 
  20.             'Blue': (0,0,0,195,225,255,285), 
  21.             'Cyan': (0,0,0,135,165,195,225), 
  22.             'Magenta': (0,0,0,255,285,315,345), 
  23.             'Yellow': (0,0,0,15,45,75,105)
  24.             }
  25.         }
  26.  
  27. def Do(Environment):
  28.     # Color Adjust HSL
  29.     App.Do( Environment, 'ColorAdjustHSL',         Preset_ColorAdjustHSL())
  30.  
  31.